﻿  <link href="/css/blog.css" rel="stylesheet" type="text/css" />
  <link href="/JS/MsgBox/moonbox.css" rel="stylesheet" type="text/css" />
  <script src="/JS/MsgBox/moonbox.js" type="text/javascript"></script>
  <script type="text/javascript" src="/JS/jyAjax.js"></script>
  <script src="/js/caretInsert.js" language="javascript" type="text/javascript"></script>
	<script language="javascript" type="text/javascript">
    	$(function(){
			$("#getFace").click(function(){
				var offset = $(this).offset();
				$(".face").css("left",offset.left);
				$(".face").css("top",offset.top-200);
				$(".face").fadeIn();
			}),
			$("#closeFace").click(function(){
				$(".face").fadeOut();	
			}),
			$(".face a").click(function(){  
				$('.sblog textarea').setCaret();
        		$('.sblog textarea').insertAtCaret($(this).attr("tag"));
			})
		})
        function check(){
              var item = $("input[type=radio]:checked").val();
                if(item == null)
                {
                    alert("请选择你猜的选项！");
                }
                else
                {
                    $.moonbox.loadAjax('CheckMsgBox.aspx?GuessID=$GuessID$&UserID=$UserID$&ItemID='+item);
                }        
        }
    </script>